//一个java文件中，可以有多个class类
//如果类名和文件名一样，这个类就是主类，只有主类前面可以加public
public class J04wenti {
    public static void main(String[] args) {
        int num = 100;
        num = 200;
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        System.out.println(num);
        int a = 88;
    }
}

class J05many{
    public static void main(String[] args) {
        int a = 3;
        System.out.println("a="+a);
        int b = 88;
        System.out.println(b);
        //字符串可以和数字相加，结果就是拼接字符串
        System.out.println("b="+b);

//        System.out.println(b);
        //b.sout
        System.out.println(b);
        //a.soutv
        System.out.println("b = " + b);
        System.out.println("a = " + a);
    }
}
